package com.hzcx.app.simplechat.ui.publicui.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.login.bean.LoginInfoBean;
import com.hzcx.app.simplechat.ui.user.bean.UserInfoBean;

public interface CaptureContract {

    interface View extends IView {
        void userInfoResult(UserInfoBean data);
        void onFail();
    }

    interface Presenter extends IPresenter<View> {
        void getUserInfoByQrCode(Context context, String url);
    }

}
